package com.lizhi.yun.db.sfrobot.entity;

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: lizhi
 * @Description:
 * @Date: create in 2020/11/12 9:07
 */
@Data
@ToString
@MappedSuperclass
public abstract class AbstractHisEntity implements Serializable {

    /**
     * 医院id
     */
    @Column
    @Description("医院id")
    public Long hisId;
    @Column
    @Description("创建时间")
    public Date createdTime;
    @Column(length = 50)
    @Description("创建者说明")
    public String creatorText;
    @Column
    @Description("创建者id")
    public Long creatorId;
    @Column
    @Description("更新时间")
    public Date updatedTime;
    @Column(length = 50)
    @Description("更新者说明")
    public String updatorText;
    @Column
    @Description("更新者id")
    public Long updatorId;
    @Column
    @Description("是否删除")
    public Boolean isDeleted;
    /**
     * 数据状态
     */
    @Column
    @Description("数据状态")
    public Integer status;
    /**
     * 数据上传时间
     */
    @Column
    @Description("数据上传时间")
    public Date commUpTime;
    /**
     * 数据下载时间
     */
    @Column
    @Description("数据下载时间")
    public Date commDownTime;

    @Description("无用数据")
    public String cacheKey;

}
